import { http } from "@/uni-sub-base/service/request.js"
let serviceName = "Warehouse/"
import { getBaseUrls } from "@/utils/appUrl.js"
//获取总部仓库列表
export function GetWarehouseList(data) {
    return http.get({
        url: getBaseUrls().baseUrlGuide + serviceName + "GetWarehouseList",
        data,
    })
}
//获取用户默认仓库
export function GetUserDefaultWarehouse(path) {
    return http.get({
        url: getBaseUrls().baseUrlGuide + serviceName + "GetUserDefaultWarehouse" + path,
    })
}
//获取商品各仓库库存(A8)
export function GetProductWarehouseStockList(data) {
    return http.post({
        url: getBaseUrls().baseUrlGuide + serviceName + "GetProductWarehouseStockList",
        data,
    })
}
